<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>修改</h1>
<form method="get" action="/updateContact">
  姓名:<input type="text" name="cname" value="" th:value="${contact.cname}"><br>
  电话:<input type="text" name="mobile" value="" th:value="${contact.mobile}"><br>
  qq号:<input type="text" name="qq" value="" th:value="${contact.qq}"><br>
  邮箱:<input type="text" name="email" value="" th:value="${contact.email}"><br>
  地址:<input type="text" name="address" value="" th:value="${contact.address}"><br>
  <input type="submit" value="提交">
  <input type="reset" value="重置">
</form>
</body>
</html>